I am working on arrays and i need to pass arrays using ref and out parameter in a function.my function are given below:
static void FillArray(ref int[] arr)
{
.......
}
Please can anyone give me a solution in both cases(ref and out parameter).
Home / DeveloperSection / Forums / How to pass arrays using ref and out parameter
static void FillArray(ref int[] arr)
{
.......
}
Manoj Bhatt
09-Feb-2016